package com.company.show.observer;

/**
 * @author yingfing
 * @create 2020--10--07 16:41
 * @describe
 */
public class Test {
    public static void main(String[] args) {
        Subject subject = new PublisherOne();
        subject.add(new Observer01());
        subject.add(new Observer02());
        // 操作
        subject.operation();
    }
}
